package com.xiaokai.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Author:yang
 * Date:2024-12-16 16:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderDTO {

    private String carrierStoreId;

    private String adCode;

    private String orderNo;

    private String fromId;

    private String fromAreaName;

    private String fromAddress;

    private String fromAddressDetail;

    private String fromSenderName;

    private String fromMobile;

    private Double fromLatitude;

    private Double fromLongitude;

    private String toAddress;

    private String toAddressDetail;

    private Double toLatitude;

    private Double toLongitude;

    private String toReceiverName;

    private String toMobile;

    private String requireReceiveTime;

    private Integer goodType;

    private Integer weight;

    private String remarks;

    private Integer preDeliveryAmount;

    private Integer preDeliveryDuration;

    private Integer appointType;

    private String appointmentDate;

    private Integer totalAmount;

    private Integer goodsCount;

    private List<Good> goods;

    private Integer fiveRate;

    private Integer orderDistance;

    private Boolean needReceiveCode;

    private String eosId;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Good {
        private String name;

        private Integer qty;

        private Integer amount;
    }


}
